package com.jbp.dao;

import com.jbp.model.RoomManager;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 
 * 
 * @author lucheng feng
 * @email jbp@gmail.com
 * @date 2020-06-20 22:05:15
 */

public interface RoomManagerDao extends BaseMapper<RoomManager> {

    @Select("select user_id from room_manager where room_id=#{roomId}")
    List<Integer> getUserIds(@Param("roomId") Integer roomId);
	
}
